Skip to content

fix(network): clarify ephemeral port assignment - #368

Open
wufei-png wants to merge 1 commit into
xiaolincoder:mainfrom
wufei-png:codex/issue-347-tcp-ephemeral-port
Open

wufei-png wants to merge 1 commit into
xiaolincoder:mainfrom
wufei-png:codex/issue-347-tcp-ephemeral-port

Conversation

@wufei-png

Copy link
Copy Markdown

What

Correct the description of client-side ephemeral ports in network/1_base/tcp_ip_model.md.

Why

The previous wording implied that the operating system assigns a temporary port to each browser tab or process. For an unbound IP socket, the local port can be assigned when the socket connects; the port is part of the socket address and is not allocated one-to-one per tab or process.

Closes #347.

Validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

这里好像有一个容易让人误解的地方,tcp 传输层的解释

1 participant